package com.bytz.modules.cms.product.model;

import com.bytz.modules.cms.product.entity.ProductPack;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
public class ProductPackModel extends ProductPack {

    @ApiModelProperty("商品详情")
    private List<ProductModel> products;

    @ApiModelProperty("包含物料数")
    private Integer productCount;

    @ApiModelProperty("价格合计")
    private BigDecimal priceCount;

    @ApiModelProperty("只筛选经销商添加的包")
    private Boolean resellerOnly;
}
